package com.eunion.web.admin.bo;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class NoVo {
	private String no;

	private String links;

	private String category;

	private String version;
	
	private String name;
	
	private String path ;
	
	private Integer status;

	private boolean flag;

	private boolean has = false;

	private String msg;

	public NoVo() {
	}

	public NoVo(boolean flag) {
		this.flag = flag;
	}

	public NoVo(boolean flag, String msg) {
		this.flag = flag;
		this.msg = msg;
	}

	public NoVo(boolean flag, boolean has, String msg, String no, String links, String category) {
		this.flag = flag;
		this.has = has;
		this.msg = msg;
		this.no = no;
		this.links = links;
		this.category = category;
	}
	
	public NoVo(boolean flag, boolean has, String msg, String no, String links, String category, String version) {
		this.flag = flag;
		this.has = has;
		this.msg = msg;
		this.no = no;
		this.links = links;
		this.category = category;
		this.version = version;
	}
	
	public NoVo(boolean flag, boolean has, String msg, String no, String links, String category, String version, String name, String path,Integer status) {
		this.flag = flag;
		this.has = has;
		this.msg = msg;
		this.no = no;
		this.links = links;
		this.category = category;
		this.version = version;
		this.name = name;
		this.path = path;
		this.status = status;
	}

	public NoVo(boolean flag, boolean has, String msg) {
		this.flag = flag;
		this.has = has;
		this.msg = msg;
	}

	public String getNo() {
		return no;
	}

	public void setNo(String no) {
		this.no = no;
	}

	public String getLinks() {
		return links;
	}

	public void setLinks(String links) {
		this.links = links;
	}

	public String getCategory() {
		return category;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getVersion() {
		return version;
	}

	public void setVersion(String version) {
		this.version = version;
	}

	public boolean isFlag() {
		return flag;
	}

	public void setFlag(boolean flag) {
		this.flag = flag;
	}

	public boolean isHas() {
		return has;
	}

	public void setHas(boolean has) {
		this.has = has;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Override
	public String toString() {
		return new ReflectionToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE).toString();
	}

}
